import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';

/**
 * 路由模块
 */
import { UserinfoRoutingModule, declarationComponents, entryComponents } from './userinfo.routing';

/**
 * 服务列表
 */
import { UserinfoService } from './services/userinfo.service';
import { SortablejsModule } from 'angular-sortablejs/dist';
import { ShareModule } from '../../cores/share.module';
import { ModalComponent } from './pages/usergroups-table/modal.component';

@NgModule({
    imports: [
        FormsModule,
        ShareModule,
        UserinfoRoutingModule,
        SortablejsModule,
    ],
    declarations: [
        ModalComponent, 
        declarationComponents,
    ],
    entryComponents: [
        ModalComponent,
        entryComponents,
    ],
    providers: [
        UserinfoService,
    ]

})
export class UserinfoModule { }
